package routers

import (
	"github.com/gin-gonic/gin"
	"shop-admin/controller"
)

func privateSystemStore(router *gin.RouterGroup) {
	storeController := &controller.SystemStoreController{}
	api := router.Group("/system/store")
	{
		api.POST("", storeController.Save)
		api.PUT("/status", storeController.UpdateStatus)
		api.PUT("", storeController.Update)
		api.GET("/page", storeController.Page)
		api.GET("/allCount", storeController.Count)
		api.PUT("/recovery", storeController.Recovery) //提货点恢复
		api.DELETE("", storeController.Delete)
		api.DELETE("/completely/delete", storeController.CompleteLyDelete) //彻底删除
	}
}
